#pragma once

#include "../umlmodel_global.h"

#include "ControlNode.h"

namespace uml {

/// <summary>
/// InitialNode
/// An InitialNode is a ControlNode that offers a single control token when
/// initially enabled.
/// </summary>
class UMLMODEL_EXPORT InitialNode : public ControlNode {

public: // Constructors and destructors
    explicit InitialNode(const QString& umlType="uml::InitialNode");

public: // JsonSerializable override
    void fromJson(const QJsonObject& json, QStringList& errorList) override;
    void toJson(QJsonObject& json) override;

};

} // namespace uml
